package com.wl.other;

//import com.baomidou.mybatisplus.annotation.DbType;
//import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
//import com.baomidou.mybatisplus.extension.plugins.pagination.dialects.MySqlDialect;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.wl.other.dao")
public class OtherApp {
    public static void main(String[] args) {
        SpringApplication.run(OtherApp.class, args);
    }
//    public void a(){
//        MybatisPlusInterceptor mybatisPlusInterceptor = new MybatisPlusInterceptor();
//        PaginationInnerInterceptor paginationInnerInterceptor = new PaginationInnerInterceptor();
//        paginationInnerInterceptor.setDialect(new MySqlDialect());
//        paginationInnerInterceptor.setDbType(DbType.MYSQL);
//        mybatisPlusInterceptor.addInnerInterceptor(paginationInnerInterceptor);
//        configuration.addInterceptor(mybatisPlusInterceptor);
//    }
}
